include(FindPkgConfig)
pkg_check_modules(HS libhs>=5.1.0)
if (HS_FOUND)
    include_directories(${HS_INCLUDE_DIRS})
    link_libraries(${HS_LIBRARIES})
    add_executable(keyword_match_engine keyword_match_engine.cpp)
endif ()
